﻿using System;

namespace EduFormManager.Models
{
    public class QueryPartHead : Entity
    {
        public virtual string Title { get; set; }

        public override string ToString()
        {
            return this.Title;
        }

        public static implicit operator string(QueryPartHead qp)
        {
            return qp.ToString();
        }
        public static explicit operator QueryPartHead(string str)
        {
            return new QueryPartHead() { Title = str };
        }
    }
}
